SkyDemon Forums

Exception each time I open the W&B tab the second time (per program execution)

http://23588_2017.hs2.instantasp.net/Topic15854.aspx

By Patrick - 5/26/2015 7:46:04 PM

Hi,

currently, SkyDemon (3.3.0.0 for Windows PC) crashes whenever I open the Weight & Balance tab for the second time. I.e. upon running SkyDemon, I can have a look at it once, but the second time I get an exception. Details below.

Regards

Patrick

===============

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at Divelements.SkyDemon.Briefing.WeightBalancewindow.LoadingPointGridRow.GetCellValue(GridColumn column)
   at Divelements.SandGrid.GridRow.DrawCells(RenderingContext context, Rectangle bounds, GridColumn[] columns, TextFormattingInformation[] textFormats)
   at Divelements.SandGrid.GridRow.DrawRowForeground(RenderingContext context, Rectangle bounds, GridColumn[] columns, TextFormattingInformation[] textFormats)
   at Divelements.SandGrid.InnerGrid.x14295bd0cde2ff5d(RenderingContext x0f7b23d1c393aed9, Boolean x48d1c33294a7dd40)
   at Divelements.SandGrid.InnerGrid.x7f63857195e5d213(RenderingContext x0f7b23d1c393aed9)
   at Divelements.SandGrid.SandGridBase.OnPaint(PaintEventArgs e)
   at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
   at System.Windows.Forms.Control.WmPaint(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at Divelements.SandGrid.SandGridBase.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativewindow.WndProc(Message& m)
   at System.Windows.Forms.Nativewindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
SkyDemon
    Assembly Version: 3.3.0.34021
    Win32 Version:
    CodeBase: file:///C:/Program%20Files%20(x86)/SkyDemon/SkyDemon.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Divelements.Aviation
    Assembly Version: 3.3.0.34019
    Win32 Version: 3.3.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/SkyDemon/Divelements.Aviation.DLL
----------------------------------------
Divelements.SandGrid
    Assembly Version: 2.2.4.1
    Win32 Version: 2.2.4.1
    CodeBase: file:///C:/Program%20Files%20(x86)/SkyDemon/Divelements.SandGrid.DLL
----------------------------------------
SandDock
    Assembly Version: 3.0.6.1
    Win32 Version: 3.0.6.1
    CodeBase: file:///C:/Program%20Files%20(x86)/SkyDemon/SandDock.DLL
----------------------------------------
TallComponents.PDF.Rasterizer
    Assembly Version: 3.0.105.0
    Win32 Version: 3.0.105.0
    CodeBase: file:///C:/Program%20Files%20(x86)/SkyDemon/TallComponents.PDF.Rasterizer.DLL
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Divelements.Mapping
    Assembly Version: 3.3.0.34019
    Win32 Version: 3.3.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/SkyDemon/Divelements.Mapping.DLL
----------------------------------------
SandBar
    Assembly Version: 1.4.3.2
    Win32 Version: 1.4.3.2
    CodeBase: file:///C:/Program%20Files%20(x86)/SkyDemon/SandBar.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
By Tim Dawson - 5/27/2015 9:51:03 AM

You will find that if you upgrade to the latest version, this bug has been fixed.